Undo_Query

Prepares the UNDO/REDO BUFFER and returns the next UNDO/REDO values.

Syntax: imaG.Undo_Query undocaption , undoavailable , redocaption , redoavailable , undokey , redokey
undocaption (string) Returns the name of the next undo action.
undoavailable (boolean) Returns the value that determines if an undo action is available.
redocaption (string) Returns the name of the next redo action.
redoavailable (boolean) Returns the value that determines if a redo action is available.
undokey (constant) OPTIONAL - Returns the constant value that recognizes the next undo action. (caUndoConstants )
redokey (constant) OPTIONAL - Returns the constant value that recognizes the next redo action. (caUndoConstants )

All the parameters will be passed ByRef.

If the imaG is in TEST MODE, this method is not effective.

See The Undo Buffer , UndAdd , UndoAddPalette , UndoUndo , UndoRedo